package com.hydl.power.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class InspectionplanExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public InspectionplanExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTidIsNull() {
            addCriterion("tid is null");
            return (Criteria) this;
        }

        public Criteria andTidIsNotNull() {
            addCriterion("tid is not null");
            return (Criteria) this;
        }

        public Criteria andTidEqualTo(Integer value) {
            addCriterion("tid =", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotEqualTo(Integer value) {
            addCriterion("tid <>", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThan(Integer value) {
            addCriterion("tid >", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThanOrEqualTo(Integer value) {
            addCriterion("tid >=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThan(Integer value) {
            addCriterion("tid <", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThanOrEqualTo(Integer value) {
            addCriterion("tid <=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidIn(List<Integer> values) {
            addCriterion("tid in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotIn(List<Integer> values) {
            addCriterion("tid not in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidBetween(Integer value1, Integer value2) {
            addCriterion("tid between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotBetween(Integer value1, Integer value2) {
            addCriterion("tid not between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTasknameIsNull() {
            addCriterion("taskName is null");
            return (Criteria) this;
        }

        public Criteria andTasknameIsNotNull() {
            addCriterion("taskName is not null");
            return (Criteria) this;
        }

        public Criteria andTasknameEqualTo(String value) {
            addCriterion("taskName =", value, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasknameNotEqualTo(String value) {
            addCriterion("taskName <>", value, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasknameGreaterThan(String value) {
            addCriterion("taskName >", value, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasknameGreaterThanOrEqualTo(String value) {
            addCriterion("taskName >=", value, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasknameLessThan(String value) {
            addCriterion("taskName <", value, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasknameLessThanOrEqualTo(String value) {
            addCriterion("taskName <=", value, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasknameLike(String value) {
            addCriterion("taskName like", value, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasknameNotLike(String value) {
            addCriterion("taskName not like", value, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasknameIn(List<String> values) {
            addCriterion("taskName in", values, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasknameNotIn(List<String> values) {
            addCriterion("taskName not in", values, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasknameBetween(String value1, String value2) {
            addCriterion("taskName between", value1, value2, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasknameNotBetween(String value1, String value2) {
            addCriterion("taskName not between", value1, value2, "taskname");
            return (Criteria) this;
        }

        public Criteria andTasktypeIsNull() {
            addCriterion("taskType is null");
            return (Criteria) this;
        }

        public Criteria andTasktypeIsNotNull() {
            addCriterion("taskType is not null");
            return (Criteria) this;
        }

        public Criteria andTasktypeEqualTo(String value) {
            addCriterion("taskType =", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeNotEqualTo(String value) {
            addCriterion("taskType <>", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeGreaterThan(String value) {
            addCriterion("taskType >", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeGreaterThanOrEqualTo(String value) {
            addCriterion("taskType >=", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeLessThan(String value) {
            addCriterion("taskType <", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeLessThanOrEqualTo(String value) {
            addCriterion("taskType <=", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeLike(String value) {
            addCriterion("taskType like", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeNotLike(String value) {
            addCriterion("taskType not like", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeIn(List<String> values) {
            addCriterion("taskType in", values, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeNotIn(List<String> values) {
            addCriterion("taskType not in", values, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeBetween(String value1, String value2) {
            addCriterion("taskType between", value1, value2, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeNotBetween(String value1, String value2) {
            addCriterion("taskType not between", value1, value2, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTaskcontentIsNull() {
            addCriterion("taskContent is null");
            return (Criteria) this;
        }

        public Criteria andTaskcontentIsNotNull() {
            addCriterion("taskContent is not null");
            return (Criteria) this;
        }

        public Criteria andTaskcontentEqualTo(String value) {
            addCriterion("taskContent =", value, "taskcontent");
            return (Criteria) this;
        }

        public Criteria andTaskcontentNotEqualTo(String value) {
            addCriterion("taskContent <>", value, "taskcontent");
            return (Criteria) this;
        }

        public Criteria andTaskcontentGreaterThan(String value) {
            addCriterion("taskContent >", value, "taskcontent");
            return (Criteria) this;
        }

        public Criteria andTaskcontentGreaterThanOrEqualTo(String value) {
            addCriterion("taskContent >=", value, "taskcontent");
            return (Criteria) this;
        }

        public Criteria andTaskcontentLessThan(String value) {
            addCriterion("taskContent <", value, "taskcontent");
            return (Criteria) this;
        }

        public Criteria andTaskcontentLessThanOrEqualTo(String value) {
            addCriterion("taskContent <=", value, "taskcontent");
            return (Criteria) this;
        }

        public Criteria andTaskcontentLike(String value) {
            addCriterion("taskContent like", value, "taskcontent");
            return (Criteria) this;
        }

        public Criteria andTaskcontentNotLike(String value) {
            addCriterion("taskContent not like", value, "taskcontent");
            return (Criteria) this;
        }

        public Criteria andTaskcontentIn(List<String> values) {
            addCriterion("taskContent in", values, "taskcontent");
            return (Criteria) this;
        }

        public Criteria andTaskcontentNotIn(List<String> values) {
            addCriterion("taskContent not in", values, "taskcontent");
            return (Criteria) this;
        }

        public Criteria andTaskcontentBetween(String value1, String value2) {
            addCriterion("taskContent between", value1, value2, "taskcontent");
            return (Criteria) this;
        }

        public Criteria andTaskcontentNotBetween(String value1, String value2) {
            addCriterion("taskContent not between", value1, value2, "taskcontent");
            return (Criteria) this;
        }

        public Criteria andTasktimeIsNull() {
            addCriterion("taskTime is null");
            return (Criteria) this;
        }

        public Criteria andTasktimeIsNotNull() {
            addCriterion("taskTime is not null");
            return (Criteria) this;
        }

        public Criteria andTasktimeEqualTo(Date value) {
            addCriterion("taskTime =", value, "tasktime");
            return (Criteria) this;
        }

        public Criteria andTasktimeNotEqualTo(Date value) {
            addCriterion("taskTime <>", value, "tasktime");
            return (Criteria) this;
        }

        public Criteria andTasktimeGreaterThan(Date value) {
            addCriterion("taskTime >", value, "tasktime");
            return (Criteria) this;
        }

        public Criteria andTasktimeGreaterThanOrEqualTo(Date value) {
            addCriterion("taskTime >=", value, "tasktime");
            return (Criteria) this;
        }

        public Criteria andTasktimeLessThan(Date value) {
            addCriterion("taskTime <", value, "tasktime");
            return (Criteria) this;
        }

        public Criteria andTasktimeLessThanOrEqualTo(Date value) {
            addCriterion("taskTime <=", value, "tasktime");
            return (Criteria) this;
        }

        public Criteria andTasktimeIn(List<Date> values) {
            addCriterion("taskTime in", values, "tasktime");
            return (Criteria) this;
        }

        public Criteria andTasktimeNotIn(List<Date> values) {
            addCriterion("taskTime not in", values, "tasktime");
            return (Criteria) this;
        }

        public Criteria andTasktimeBetween(Date value1, Date value2) {
            addCriterion("taskTime between", value1, value2, "tasktime");
            return (Criteria) this;
        }

        public Criteria andTasktimeNotBetween(Date value1, Date value2) {
            addCriterion("taskTime not between", value1, value2, "tasktime");
            return (Criteria) this;
        }

        public Criteria andStartdealtimeIsNull() {
            addCriterion("startDealtime is null");
            return (Criteria) this;
        }

        public Criteria andStartdealtimeIsNotNull() {
            addCriterion("startDealtime is not null");
            return (Criteria) this;
        }

        public Criteria andStartdealtimeEqualTo(Date value) {
            addCriterion("startDealtime =", value, "startdealtime");
            return (Criteria) this;
        }

        public Criteria andStartdealtimeNotEqualTo(Date value) {
            addCriterion("startDealtime <>", value, "startdealtime");
            return (Criteria) this;
        }

        public Criteria andStartdealtimeGreaterThan(Date value) {
            addCriterion("startDealtime >", value, "startdealtime");
            return (Criteria) this;
        }

        public Criteria andStartdealtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("startDealtime >=", value, "startdealtime");
            return (Criteria) this;
        }

        public Criteria andStartdealtimeLessThan(Date value) {
            addCriterion("startDealtime <", value, "startdealtime");
            return (Criteria) this;
        }

        public Criteria andStartdealtimeLessThanOrEqualTo(Date value) {
            addCriterion("startDealtime <=", value, "startdealtime");
            return (Criteria) this;
        }

        public Criteria andStartdealtimeIn(List<Date> values) {
            addCriterion("startDealtime in", values, "startdealtime");
            return (Criteria) this;
        }

        public Criteria andStartdealtimeNotIn(List<Date> values) {
            addCriterion("startDealtime not in", values, "startdealtime");
            return (Criteria) this;
        }

        public Criteria andStartdealtimeBetween(Date value1, Date value2) {
            addCriterion("startDealtime between", value1, value2, "startdealtime");
            return (Criteria) this;
        }

        public Criteria andStartdealtimeNotBetween(Date value1, Date value2) {
            addCriterion("startDealtime not between", value1, value2, "startdealtime");
            return (Criteria) this;
        }

        public Criteria andTaskstatusIsNull() {
            addCriterion("taskStatus is null");
            return (Criteria) this;
        }

        public Criteria andTaskstatusIsNotNull() {
            addCriterion("taskStatus is not null");
            return (Criteria) this;
        }

        public Criteria andTaskstatusEqualTo(String value) {
            addCriterion("taskStatus =", value, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusNotEqualTo(String value) {
            addCriterion("taskStatus <>", value, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusGreaterThan(String value) {
            addCriterion("taskStatus >", value, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusGreaterThanOrEqualTo(String value) {
            addCriterion("taskStatus >=", value, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusLessThan(String value) {
            addCriterion("taskStatus <", value, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusLessThanOrEqualTo(String value) {
            addCriterion("taskStatus <=", value, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusLike(String value) {
            addCriterion("taskStatus like", value, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusNotLike(String value) {
            addCriterion("taskStatus not like", value, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusIn(List<String> values) {
            addCriterion("taskStatus in", values, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusNotIn(List<String> values) {
            addCriterion("taskStatus not in", values, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusBetween(String value1, String value2) {
            addCriterion("taskStatus between", value1, value2, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusNotBetween(String value1, String value2) {
            addCriterion("taskStatus not between", value1, value2, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andExecutornameIsNull() {
            addCriterion("ExecutorName is null");
            return (Criteria) this;
        }

        public Criteria andExecutornameIsNotNull() {
            addCriterion("ExecutorName is not null");
            return (Criteria) this;
        }

        public Criteria andExecutornameEqualTo(String value) {
            addCriterion("ExecutorName =", value, "executorname");
            return (Criteria) this;
        }

        public Criteria andExecutornameNotEqualTo(String value) {
            addCriterion("ExecutorName <>", value, "executorname");
            return (Criteria) this;
        }

        public Criteria andExecutornameGreaterThan(String value) {
            addCriterion("ExecutorName >", value, "executorname");
            return (Criteria) this;
        }

        public Criteria andExecutornameGreaterThanOrEqualTo(String value) {
            addCriterion("ExecutorName >=", value, "executorname");
            return (Criteria) this;
        }

        public Criteria andExecutornameLessThan(String value) {
            addCriterion("ExecutorName <", value, "executorname");
            return (Criteria) this;
        }

        public Criteria andExecutornameLessThanOrEqualTo(String value) {
            addCriterion("ExecutorName <=", value, "executorname");
            return (Criteria) this;
        }

        public Criteria andExecutornameLike(String value) {
            addCriterion("ExecutorName like", value, "executorname");
            return (Criteria) this;
        }

        public Criteria andExecutornameNotLike(String value) {
            addCriterion("ExecutorName not like", value, "executorname");
            return (Criteria) this;
        }

        public Criteria andExecutornameIn(List<String> values) {
            addCriterion("ExecutorName in", values, "executorname");
            return (Criteria) this;
        }

        public Criteria andExecutornameNotIn(List<String> values) {
            addCriterion("ExecutorName not in", values, "executorname");
            return (Criteria) this;
        }

        public Criteria andExecutornameBetween(String value1, String value2) {
            addCriterion("ExecutorName between", value1, value2, "executorname");
            return (Criteria) this;
        }

        public Criteria andExecutornameNotBetween(String value1, String value2) {
            addCriterion("ExecutorName not between", value1, value2, "executorname");
            return (Criteria) this;
        }

        public Criteria andMaintainerIsNull() {
            addCriterion("maintainer is null");
            return (Criteria) this;
        }

        public Criteria andMaintainerIsNotNull() {
            addCriterion("maintainer is not null");
            return (Criteria) this;
        }

        public Criteria andMaintainerEqualTo(String value) {
            addCriterion("maintainer =", value, "maintainer");
            return (Criteria) this;
        }

        public Criteria andMaintainerNotEqualTo(String value) {
            addCriterion("maintainer <>", value, "maintainer");
            return (Criteria) this;
        }

        public Criteria andMaintainerGreaterThan(String value) {
            addCriterion("maintainer >", value, "maintainer");
            return (Criteria) this;
        }

        public Criteria andMaintainerGreaterThanOrEqualTo(String value) {
            addCriterion("maintainer >=", value, "maintainer");
            return (Criteria) this;
        }

        public Criteria andMaintainerLessThan(String value) {
            addCriterion("maintainer <", value, "maintainer");
            return (Criteria) this;
        }

        public Criteria andMaintainerLessThanOrEqualTo(String value) {
            addCriterion("maintainer <=", value, "maintainer");
            return (Criteria) this;
        }

        public Criteria andMaintainerLike(String value) {
            addCriterion("maintainer like", value, "maintainer");
            return (Criteria) this;
        }

        public Criteria andMaintainerNotLike(String value) {
            addCriterion("maintainer not like", value, "maintainer");
            return (Criteria) this;
        }

        public Criteria andMaintainerIn(List<String> values) {
            addCriterion("maintainer in", values, "maintainer");
            return (Criteria) this;
        }

        public Criteria andMaintainerNotIn(List<String> values) {
            addCriterion("maintainer not in", values, "maintainer");
            return (Criteria) this;
        }

        public Criteria andMaintainerBetween(String value1, String value2) {
            addCriterion("maintainer between", value1, value2, "maintainer");
            return (Criteria) this;
        }

        public Criteria andMaintainerNotBetween(String value1, String value2) {
            addCriterion("maintainer not between", value1, value2, "maintainer");
            return (Criteria) this;
        }

        public Criteria andMaintaineridIsNull() {
            addCriterion("maintainerId is null");
            return (Criteria) this;
        }

        public Criteria andMaintaineridIsNotNull() {
            addCriterion("maintainerId is not null");
            return (Criteria) this;
        }

        public Criteria andMaintaineridEqualTo(Integer value) {
            addCriterion("maintainerId =", value, "maintainerid");
            return (Criteria) this;
        }

        public Criteria andMaintaineridNotEqualTo(Integer value) {
            addCriterion("maintainerId <>", value, "maintainerid");
            return (Criteria) this;
        }

        public Criteria andMaintaineridGreaterThan(Integer value) {
            addCriterion("maintainerId >", value, "maintainerid");
            return (Criteria) this;
        }

        public Criteria andMaintaineridGreaterThanOrEqualTo(Integer value) {
            addCriterion("maintainerId >=", value, "maintainerid");
            return (Criteria) this;
        }

        public Criteria andMaintaineridLessThan(Integer value) {
            addCriterion("maintainerId <", value, "maintainerid");
            return (Criteria) this;
        }

        public Criteria andMaintaineridLessThanOrEqualTo(Integer value) {
            addCriterion("maintainerId <=", value, "maintainerid");
            return (Criteria) this;
        }

        public Criteria andMaintaineridIn(List<Integer> values) {
            addCriterion("maintainerId in", values, "maintainerid");
            return (Criteria) this;
        }

        public Criteria andMaintaineridNotIn(List<Integer> values) {
            addCriterion("maintainerId not in", values, "maintainerid");
            return (Criteria) this;
        }

        public Criteria andMaintaineridBetween(Integer value1, Integer value2) {
            addCriterion("maintainerId between", value1, value2, "maintainerid");
            return (Criteria) this;
        }

        public Criteria andMaintaineridNotBetween(Integer value1, Integer value2) {
            addCriterion("maintainerId not between", value1, value2, "maintainerid");
            return (Criteria) this;
        }

        public Criteria andCreattimeIsNull() {
            addCriterion("creatTime is null");
            return (Criteria) this;
        }

        public Criteria andCreattimeIsNotNull() {
            addCriterion("creatTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreattimeEqualTo(Date value) {
            addCriterion("creatTime =", value, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeNotEqualTo(Date value) {
            addCriterion("creatTime <>", value, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeGreaterThan(Date value) {
            addCriterion("creatTime >", value, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeGreaterThanOrEqualTo(Date value) {
            addCriterion("creatTime >=", value, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeLessThan(Date value) {
            addCriterion("creatTime <", value, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeLessThanOrEqualTo(Date value) {
            addCriterion("creatTime <=", value, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeIn(List<Date> values) {
            addCriterion("creatTime in", values, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeNotIn(List<Date> values) {
            addCriterion("creatTime not in", values, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeBetween(Date value1, Date value2) {
            addCriterion("creatTime between", value1, value2, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeNotBetween(Date value1, Date value2) {
            addCriterion("creatTime not between", value1, value2, "creattime");
            return (Criteria) this;
        }

        public Criteria andRoomnameIsNull() {
            addCriterion("roomName is null");
            return (Criteria) this;
        }

        public Criteria andRoomnameIsNotNull() {
            addCriterion("roomName is not null");
            return (Criteria) this;
        }

        public Criteria andRoomnameEqualTo(String value) {
            addCriterion("roomName =", value, "roomname");
            return (Criteria) this;
        }

        public Criteria andRoomnameNotEqualTo(String value) {
            addCriterion("roomName <>", value, "roomname");
            return (Criteria) this;
        }

        public Criteria andRoomnameGreaterThan(String value) {
            addCriterion("roomName >", value, "roomname");
            return (Criteria) this;
        }

        public Criteria andRoomnameGreaterThanOrEqualTo(String value) {
            addCriterion("roomName >=", value, "roomname");
            return (Criteria) this;
        }

        public Criteria andRoomnameLessThan(String value) {
            addCriterion("roomName <", value, "roomname");
            return (Criteria) this;
        }

        public Criteria andRoomnameLessThanOrEqualTo(String value) {
            addCriterion("roomName <=", value, "roomname");
            return (Criteria) this;
        }

        public Criteria andRoomnameLike(String value) {
            addCriterion("roomName like", value, "roomname");
            return (Criteria) this;
        }

        public Criteria andRoomnameNotLike(String value) {
            addCriterion("roomName not like", value, "roomname");
            return (Criteria) this;
        }

        public Criteria andRoomnameIn(List<String> values) {
            addCriterion("roomName in", values, "roomname");
            return (Criteria) this;
        }

        public Criteria andRoomnameNotIn(List<String> values) {
            addCriterion("roomName not in", values, "roomname");
            return (Criteria) this;
        }

        public Criteria andRoomnameBetween(String value1, String value2) {
            addCriterion("roomName between", value1, value2, "roomname");
            return (Criteria) this;
        }

        public Criteria andRoomnameNotBetween(String value1, String value2) {
            addCriterion("roomName not between", value1, value2, "roomname");
            return (Criteria) this;
        }

        public Criteria andRoomidIsNull() {
            addCriterion("roomId is null");
            return (Criteria) this;
        }

        public Criteria andRoomidIsNotNull() {
            addCriterion("roomId is not null");
            return (Criteria) this;
        }

        public Criteria andRoomidEqualTo(Integer value) {
            addCriterion("roomId =", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidNotEqualTo(Integer value) {
            addCriterion("roomId <>", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidGreaterThan(Integer value) {
            addCriterion("roomId >", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidGreaterThanOrEqualTo(Integer value) {
            addCriterion("roomId >=", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidLessThan(Integer value) {
            addCriterion("roomId <", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidLessThanOrEqualTo(Integer value) {
            addCriterion("roomId <=", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidIn(List<Integer> values) {
            addCriterion("roomId in", values, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidNotIn(List<Integer> values) {
            addCriterion("roomId not in", values, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidBetween(Integer value1, Integer value2) {
            addCriterion("roomId between", value1, value2, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidNotBetween(Integer value1, Integer value2) {
            addCriterion("roomId not between", value1, value2, "roomid");
            return (Criteria) this;
        }

        public Criteria andLedgerIsNull() {
            addCriterion("Ledger is null");
            return (Criteria) this;
        }

        public Criteria andLedgerIsNotNull() {
            addCriterion("Ledger is not null");
            return (Criteria) this;
        }

        public Criteria andLedgerEqualTo(String value) {
            addCriterion("Ledger =", value, "ledger");
            return (Criteria) this;
        }

        public Criteria andLedgerNotEqualTo(String value) {
            addCriterion("Ledger <>", value, "ledger");
            return (Criteria) this;
        }

        public Criteria andLedgerGreaterThan(String value) {
            addCriterion("Ledger >", value, "ledger");
            return (Criteria) this;
        }

        public Criteria andLedgerGreaterThanOrEqualTo(String value) {
            addCriterion("Ledger >=", value, "ledger");
            return (Criteria) this;
        }

        public Criteria andLedgerLessThan(String value) {
            addCriterion("Ledger <", value, "ledger");
            return (Criteria) this;
        }

        public Criteria andLedgerLessThanOrEqualTo(String value) {
            addCriterion("Ledger <=", value, "ledger");
            return (Criteria) this;
        }

        public Criteria andLedgerLike(String value) {
            addCriterion("Ledger like", value, "ledger");
            return (Criteria) this;
        }

        public Criteria andLedgerNotLike(String value) {
            addCriterion("Ledger not like", value, "ledger");
            return (Criteria) this;
        }

        public Criteria andLedgerIn(List<String> values) {
            addCriterion("Ledger in", values, "ledger");
            return (Criteria) this;
        }

        public Criteria andLedgerNotIn(List<String> values) {
            addCriterion("Ledger not in", values, "ledger");
            return (Criteria) this;
        }

        public Criteria andLedgerBetween(String value1, String value2) {
            addCriterion("Ledger between", value1, value2, "ledger");
            return (Criteria) this;
        }

        public Criteria andLedgerNotBetween(String value1, String value2) {
            addCriterion("Ledger not between", value1, value2, "ledger");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}